package com.jt.www.biz.user_wxb.service;

import com.jt.www.model.wx.JudgeUserVO;
import com.jt.www.model.wx.UserInfoVO;
import com.jt.www.model.wx.WxParamBean;

public interface WeChatAppLoginService {

    UserInfoVO getUserInfo(WxParamBean wxParamBean) throws Exception;

    JudgeUserVO judgeUserExists(String code, String clientType) throws Exception;

    /**
     * 通过手机号查询用户得到用户编码(如果不存在就 注册新用户)
     *
     * @return
     * @throws Exception
     */
    String getUserCode(String phoneNum) throws Exception;
}
